package com.dhecp.framework.config;

import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName FlowableConfig
 * @Description TODO
 * @Author alula
 * @Date 2020-04-01 11:05
 */
@Configuration
public class FlowableConfig implements EngineConfigurationConfigurer<SpringProcessEngineConfiguration> {
    @Override
    public void configure(SpringProcessEngineConfiguration springProcessEngineConfiguration) {
        springProcessEngineConfiguration.setActivityFontName("黑体");
        springProcessEngineConfiguration.setAnnotationFontName("黑体");
        springProcessEngineConfiguration.setLabelFontName("黑体");
    }
}
